package cn.shop.dys.bean;

import com.lidroid.xutils.db.annotation.Id;
import com.lidroid.xutils.db.annotation.Table;

/**
 * Created by Administrator on 2016/4/20.
 */
@Table(name = "t_CartProInDB")
public class CartProInDB {
    @Id(column = "_id")
    private int id;
    private String userJid;
    private int productId;
    private int productNum;
    private String productProperty;

    public String getUserJid() {
        return userJid;
    }

    public void setUserJid(String userJid) {
        this.userJid = userJid;
    }

    public CartProInDB(String userJid, int productId, int productNum, String productProperty) {
        this.userJid = userJid;
        this.productId = productId;
        this.productNum = productNum;
        this.productProperty = productProperty;
    }

    public CartProInDB() {
    }

    public int getProductId() {
        return productId;
    }

    public void setProductId(int productId) {
        this.productId = productId;
    }

    public int getProductNum() {
        return productNum;
    }

    public void setProductNum(int productNum) {
        this.productNum = productNum;
    }

    public String getProductProperty() {
        return productProperty;
    }

    public void setProductProperty(String productProperty) {
        this.productProperty = productProperty;
    }

    @Override
    public String toString() {
        return "CartProInDB{" +
                "id=" + id +
                ", userJid='" + userJid + '\'' +
                ", productId=" + productId +
                ", productNum=" + productNum +
                ", productProperty='" + productProperty + '\'' +
                '}';
    }
}
